home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / lwmlist / 94.lightwave-06 / 000253_owner-lightwave-l _Sun Jun 26 19:17:54 1994.msg < prev    next >
Internet Message Format  |  1994-07-31  |  3KB

  1. Return-Path: <owner-lightwave-l>
  2. Received: by mail.netcom.com (8.6.8.1/Netcom)     id SAA15151; Sun, 26 Jun 1994 18:23:52 -0700
  3. Received: from hkg.hkg.ingr.com by mail.netcom.com (8.6.8.1/Netcom)     id SAA15084; Sun, 26 Jun 1994 18:22:59 -0700
  4. Received: by hkg.hkg.ingr.com (5.65c/1.921207)     id AA14620; Mon, 27 Jun 1994 09:20:39 -0500
  5. From: steve@hkg.hkg.ingr.com (Steven Davis)
  6. Message-Id: <199406271420.AA14620@hkg.hkg.ingr.com>
  7. Subject: Re: LightWave > VistaPro paths
  8. To: lightwave-l@netcom.com
  9. Date: Mon, 27 Jun 94 9:20:39 CDT
  10. In-Reply-To: <m0qH6g6-00032zC@rsoft.rsoft.bc.ca>; from "Jeff Holinski" at Jun 24, 94 1:26 am
  11. X-Mailer: ELM [version 07.00.00.00 (2.3 PL11)]
  12. Sender: owner-lightwave-l@netcom.com
  13. Precedence: list
  14. Reply-To: lightwave-l@netcom.com
  15.  
  16. > Does anyone on the list know of a program that will take a LightWave motion
  17. > file and convert it to a VistaPro path? I'm setting up an animation where I
  18. > need to mix LW foregrounds and VistaPro backgrounds. If you don't have If
  19. > you don't have camera paths that are the same shape in each program you get
  20. > really bad looking motion.
  21. > PD/shareware would be nice but a commercial program might be an option if
  22. > it wasn't too expensive.
  23. > Thanks for nay info.
  24. > Jeff H...
  25.  
  26. Jeff, there is a simple way to do the opposite.  I can take a VistaPro
  27. path and convert it into Lightwave, I had quite a good success with a 3000
  28. frame animation file.  I just read the data as a space delimated ascii file
  29. into a database table, organised it, and outputted it as a kind of report
  30. in Lightwave format. :) then just cut and pasted it into a lightwave Scene
  31. file.
  32.  
  33. I used an XBASE database program (Foxpro) on windows, 
  34. The database file I created, with the correct tables for lightwave, ie 
  35. Lwave.camx , the camera X position..
  36.  
  37. Here is the XBASE program.  should work with DBASE.
  38.  
  39. use lwave.dbf
  40. zap
  41. APPEND FROM tree-2.scr TYPE DELIMITED FIELDS Lwave.camx,Lwave.camy,Lwave.camz,
  42. Lwave.bank,Lwave.heading,Lwave.pitch,Lwave.hag
  43.  
  44. set talk off
  45. total_rec = RECCOUNT()
  46. frame = 0
  47.  
  48. go top
  49.  
  50. DO WHILE EOF() <> .T.
  51.     REPLACE scalex     WITH 1.0
  52.     REPLACE scaley     WITH 1.0
  53.     REPLACE scalez     WITH 1.0
  54.     REPLACE spline     WITH 0
  55.     REPLACE tension    WITH 0.0
  56.     REPLACE continuity WITH 0.0
  57.     REPLACE bias       WITH 0.0
  58.     REPLACE frame_no   WITH frame
  59.     frame = frame + 1
  60.   SKIP
  61. ENDDO
  62.  
  63. COPY TO scene.txt TYPE DELIMITED WITH BLANK FIELDS Lwave.camx,Lwave.camz,Lwave.camy,Lwave.heading,Lwave.pitch,Lwave.bank,Lwave.scalex,Lwave.scalez,Lwave.scaley,Lwave.frame_no,Lwave.spline,Lwave.tension,Lwave.continuity,Lwave.bias  
  64.  
  65. -- 
  66.  ==============================================================================
  67.    Steve Davis                               Email : steve@hkg.hkg.ingr.com
  68.    Senior Software Engineer                  Phone : (852) 5931646 (Direct)
  69.    Intergraph Graphics Systems                       (852) 5931600
  70.    Hong Kong                                 Fax   : (852) 8020781
  71.  ==============================================================================
  72.